let num: number = 123;
let bol: boolean = true;
let str: string = '';

let ary: number[] = [1,2,3]
let ary2:Array<number|string> = [1,2,3,4,5,6,'']

//元组  规定好的数量和类型的数组
let  ary3:[string,number,number,boolean] = ['',1,3,true];

// 枚举类型
enum Gender{
  girl,
  boy
}
console.log(Gender.girl)
console.log(Gender[0])